<script type="text/javascript" src="${base}/scripts/kcgl/rksh_dhd_content.js"></script>
<form id="dhd_Form" action="${base}/kcgl/dhd/dhd" method="post">
<input name="dhd.cgd.id" type="hidden" value="${(dhd.cgd.id)!(rksh.id)}"/>
<input name="dhd.cgdmx.id" type="hidden" value="${(dhd.cgdmx.id)!(cgdmxId)}"/>
<input id="id" name="dhd.id" type="hidden" value="${(dhd.id)!''}"/>
<input id="zt" name="dhd.zt" type="hidden" value="<#if (dhd.zt)??&&dhd.zt=='2'>3<#else>${(dhd.zt)!'1'}</#if>"/>
<input id="wz_id" name="dhd.wz.id" type="hidden" value="${(dhd.wz.id)!(cgdmx.gg.id)}"/>
<table id="table_dhdcontent" style="width:99%;margin: 5px;" class="tb tab-t t-bor">
<col width="10%"/>
<col width="20%"/>
<col width="15%"/>
<col width="20%"/>
<col width="15%"/>
<col width="20%"/>
<tr>
    <th>到货日期：</th>
    <td><input id="dhrq" atitle="add" name="dhd.dhrq" class="easyui-datebox input-text"
               value="${(dhd.dhrq?date)!(sysTime?date)}"/></td>
    <th>车船号：</th>
    <td><input id="chh" atitle="add" name="dhd.chh" type="text" class="input-text" value="${(dhd.chh)!}"/></td>
    <th>材料送货单号：</th>
    <td><input id="clshdh" atitle="add" name="dhd.clshdh" type="text" class="input-text"
               value="${(dhd.clshdh)!(rksh.cgdh)}"/></td>
</tr>
<tr>
    <th>保管员：</th>
    <td><input id="ysy" atitle="add" name="dhd.ysy" type="text" class="input-text" value="${(dhd.ysy)!}"/>
    </td>
    <th>运单号：</th>
    <td><input id="ydh" atitle="add" name="dhd.ydh" type="text" class="input-text" value="${(dhd.ydh)!}"/></td>
    <th>送货人：</th>
    <td><input id="sender" atitle="add" name="dhd.sender" type="text" class="input-text"
               value="${(dhd.sender)!}"/></td>
</tr>
<tr>
    <th>提货地址：</th>
    <td colspan="5"><input id="thdd" atitle="add" name="dhd.thdd" type="text" style="width: 757px;"
                           class="input-text" value="${(dhd.thdd)!}"/></td>
</tr>
<tr>
    <th>供应商名称：</th>
    <td colspan="5" style="">
        <input id="gys_id" atitle="add" name="dhd.gys.id" class="input-text" type="hidden"
               value="${(rksh.gys.id)!}"/>
    ${(rksh.gys.qc)!}
    </td>
</tr>

<tr>
    <th>物资名称：</th>
    <td>
        <input id="wz_name" name="dhd.wz.name" type="text" style="background-color:#F8F8FF;"
               readonly="readonly" class="input-text-border-zero" value="${(dhd.wz.name)!(cgdmx.gg.name)}"/>
    </td>
    <th>型号规格：</th>
    <td><input id="wz_ggxh" name="dhd.wz.ggxh" type="text" style="background-color:#F8F8FF;"
               readonly="readonly" class="input-text-border-zero"
               value="<#if (cgdmx.gg.ggxh)??>${(cgdmx.gg.ggxh)}<#else>${(dhd.wz.ggxh)!}</#if>"/></td>
    <th>物资品牌：</th>
    <td><input id="cd" name="dhd.cd" type="text" style="background-color:#F8F8FF;"
               readonly="readonly" class="input-text-border-zero"
               value="<#if (cgdmx.cd)??>${(cgdmx.cd.z)!}<#else>${(dhd.cd)!}</#if>"/></td>
</tr>
<tr>
    <th>物资编号：</th>
    <td><input id="wz_code" name="dhd.wz.code" type="text" style="background-color:#F8F8FF;"
               readonly="readonly" class="input-text-border-zero" value="${(dhd.wz.code)!(cgdmx.gg.code)}"/>
    </td>
    <th>重量单位：</th>
    <td><input id="wz_dw" name="dhd.wz.dw" type="text" style="background-color:#F8F8FF;"
               readonly="readonly" class="input-text-border-zero" value="${(dhd.wz.dw)!(cgdmx.gg.dw)}"/></td>
    <th>应收数量：</th>
    <td><input id="yssl" name="dhd.yssl" type="text" style="background-color:#F8F8FF;"
               readonly="readonly" class="input-text-border-zero" value="${(dhd.yssl)!(cgdmx.sbsl)}"/></td>
</tr>
<tr>
    <td colspan="6" align="center" style="font-size: 14px;font-weight:bold;letter-spacing: 8px;"><span
            >验收情况</span></td>
</tr>
<tr>
    <th>验收日期：</th>
    <td><input id="ysrq" atitle="val" name="dhd.ysrq" class="easyui-datebox input-text" value="${(dhd.ysrq)!}"/>
    </td>
    <th>验收员：</th>
    <td><input id="bgy" atitle="val" name="dhd.bgy" type="text" class="input-text" value="${(dhd.bgy)!}"/>
    </td>
</tr>
<tr>
    <th>供应商核实：</th>
    <td colspan="2">
        <input type="radio" atitle="val" name="dhd.isgysname" value="qualified"
               <#if (dhd.isgysname)?? && dhd.isgysname=="qualified">checked </#if>/>相符
        <input type="radio" atitle="val" name="dhd.isgysname" value="unqualified"
               <#if (dhd.isgysname)?? && dhd.isgysname=="unqualified">checked </#if>/>不相符
    </td>
    <th>物资核实：</th>
    <td colspan="2">
        <input type="radio" atitle="val" name="dhd.iswzname" value="qualified"
               <#if (dhd.iswzname)?? && dhd.iswzname=="qualified">checked </#if>/>相符
        <input type="radio" atitle="val" name="dhd.iswzname" value="unqualified"
               <#if (dhd.iswzname)?? && dhd.iswzname=="unqualified">checked </#if>/>不相符
    </td>
</tr>

<tr>
    <th>规格核实：</th>
    <td colspan="2">
        <input type="radio" atitle="val" name="dhd.iswzxh" value="qualified"
               <#if (dhd.iswzxh)?? && dhd.iswzxh=="qualified">checked </#if>/>相符
        <input type="radio" atitle="val" name="dhd.iswzxh" value="unqualified"
               <#if (dhd.iswzxh)?? && dhd.iswzxh=="unqualified">checked </#if>/>不相符
    </td>
    <th>物资品牌核实：</th>
    <td colspan="2">
        <input type="radio" atitle="val" name="dhd.iswzpp" value="qualified"
               <#if (dhd.iswzpp)?? && dhd.iswzpp=="qualified">checked </#if>/>相符
        <input type="radio" atitle="val" name="dhd.iswzpp" value="unqualified"
               <#if (dhd.iswzpp)?? && dhd.iswzpp=="unqualified">checked </#if>/>不相符
    </td>
</tr>

<tr>
    <th>生产厂家：</th>
    <td><input id="sccj" atitle="val" name="dhd.sccj" type="text" class="input-text" value="${(dhd.sccj)!}"/>
    </td>
    <th>生产日期：</th>
    <td>
        <input id="scrq" atitle="val" name="dhd.scrq" type="text" class="easyui-datebox input-text"
               value="${(dhd.scrq)!}"/>
    </td>
    <th>实收数量：</th>
    <td><input id="sssl" atitle="val" name="dhd.sssl" type="text"
               value="<#if (cgdmx.id)??>${(cgdmx.sbsl)!} <#else>${(dhd.sssl)!}</#if>" runat="server"
               class="easyui-numberbox input-text" precision="3"/>
    </td>
</tr>

<tr>
    <th rowspan="2">证&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>件&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th>
    <th>产品资证：</th>
    <td colspan="4"><input id="cpzg" atitle="val" name="dhd.cpzg" type="text" style="width: 585px;"
                           class="input-text" value="${(dhd.cpzg)!}"/></td>
</tr>

<tr>
    <th>其他证件：</th>
    <td colspan="4"><input id="qtzj" atitle="val" name="dhd.qtzj" type="text" style="width: 585px;"
                           class="input-text" value="${(dhd.qtzj)!}"/></td>
</tr>
<tr>
    <th rowspan="4">质&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>量&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th>
    <th>包装状况：</th>
    <td colspan="4"><input id="bzzk" atitle="val" name="dhd.bzzk" type="text" style="width: 585px;"
                           class="input-text" value="${(dhd.bzzk)!}"/></td>
</tr>

<tr>
    <th>实物外观：</th>
    <td colspan="4"><input id="swwg" atitle="val" name="dhd.swwg" type="text" style="width: 585px;"
                           class="input-text" value="${(dhd.swwg)!}"/></td>
</tr>

<tr>
    <th rowspan="2">内在质量：</th>
    <th>核对检验报告：</th>
    <td colspan="3"><input id="hdjybg" atitle="val" name="dhd.hdjybg" type="text" style="width: 457px;"
                           class="input-text" value="${(dhd.hdjybg)!}"/></td>
</tr>

<tr>
    <th>实测尺寸：</th>
    <td colspan="3"><input id="sccc" atitle="val" name="dhd.sccc" type="text" style="width: 457px;"
                           class="input-text" value="${(dhd.sccc)!}"/></td>
</tr>

<tr>
    <th rowspan="3">数 &nbsp;&nbsp;&nbsp;&nbsp;<br/>量&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th>
    <th>件数：</th>
    <td colspan="4"><input id="js" atitle="val" name="dhd.js" type="text" style="width: 585px;"
                           runat="server" class="easyui-numberbox input-text" precision="3"
                           value="${(dhd.js)!}"/></td>
</tr>
<tr>
    <th>称重：</th>
    <td colspan="4"><input id="cz" atitle="val" name="dhd.cz" type="text" style="width: 585px;"
                           runat="server" class="easyui-numberbox input-text" precision="3"
                           value="${(dhd.cz)!}"/></td>
</tr>
<tr>
    <th>检尺：</th>
    <td colspan="4"><input id="jc" atitle="val" name="dhd.jc" type="text" style="width: 585px;"
                           class="input-text" value="${(dhd.jc)!}"/></td>
</tr>

<tr>
    <th>问题&nbsp;&nbsp;&nbsp;&nbsp;<br/>
        处理&nbsp;&nbsp;&nbsp;&nbsp;<br/>
        结果&nbsp;&nbsp;&nbsp;&nbsp;</th>
    <td colspan="5">
        <textarea id="wtcljg" atitle="val" name="dhd.wtcljg" rows="3" class="textarea"
                  style="width:755px;height: 100px;">${(dhd.wtcljg)!}</textarea>
    </td>
</tr>
<tr>
    <th>验收结论：</th>
    <td colspan="5"><input id="ysjl" atitle="val" name="dhd.ysjl" type="text" style="width: 755px;"
                           class="input-text" value="${(dhd.ysjl)!}"/></td>
</tr>

</table>
</form>